#ifndef WGMOUSEHANDLER_H
#define WGMOUSEHANDLER_H
#include "StompedReality/Core/Input/MouseHandler.h"
#include "StompedReality/Core/OS/SystemMessageListener.h"
namespace StompedReality
{
namespace Input
{
/*!
 *
 * \author	Stefan Kazalski
 *
 * \brief	Windows mouse handler
 */
class WGLMouseHander : public MouseHandler,
  public StompedReality::Core::SystemMessageListener
{
 public:

  StompedReality::Math::Vector2 m_NewMousePos;
  bool m_UpdateMouse;
  char m_LeftMouseButton;
  char m_RightMouseMsg;

 public:

  //! \brief	Constructor.
  WGLMouseHander( );

  //! \brief	Destructor.
  virtual ~WGLMouseHander ( );

  //! \brief	Updates the mouse.
  void UpdateMouse( );

  //! \brief	Processes a system message.
  //! \param	msg		The system message.
  void ProcessMessage( StompedReality::Core::SystemMessage* msg );
};

}
}
#endif // ifndef WGMOUSEHANDLER_H